<?php

class Hoidap_hinhanh_tmp_model extends CI_Model{
    public function __construct() {
        parent::__construct();
        $this->load->database();
    }
    private $tbl_hinhanh_tmp='gs7s_hoidap_hinhanh_tmp';
    function delete_image($session) {
    	$ss = $this->session->userdata('logged_in');
        $this->db->delete($this->tbl_hinhanh_tmp,array('id_thanhvien'=> $ss['id'],'session'=>$session));
    }
    
}

